#!/bin/bash
# # get uboot tools
# git clone https://github.com/Ying-Yun/u-boot-mt76x8.git
# cd u-boot-mt76x8
# sudo tar xvfj buildroot-gcc342.tar.bz2 -C /opt/
# sudo apt-get install openjdk-7-jdk
# # build uboot image
# cd u-boot-mt76x8
make menuconfig ARCH=mips
# 2.select MT7628 board
# 3.select DRAM Tyep -> DDR2
# 4.select DDR Component
make clean
make ARCH=mips CROSS_COMPILE=mipsel-linux- V=s
ls uboot.bin


